console.log("0000");

let oldPushFun = Array.prototype.push;

Array.prototype.push = function (...args) {
   console.log("新的数组方法");
   return oldPushFun.apply(this, args);
 }

let res = [1, 2].push(4);
console.log("res", res);